Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Printing Messages / Application Messages


GXPrintPage

QuickDraw GX sends the GXPrintPage message when the data for a page is ready to be spooled. You can override the GXPrintPage message to modify data sent by an application for printing. Your override of the GXPrintPage message must match the following formal declaration:

void MyPrintPage (gxFormat aFormat, gxShape aPage);
aFormat
The format object for the page.
aPage
The data that belongs on the page in the form of a picture shape.
DESCRIPTION
QuickDraw GX sends this message when an application call the GXPrintPage function to print a page.

You rarely need to override this message. If you wish to modify the data that the application sends, it is preferable to override the GXSpoolPage message. This works
for applications that use GXPrintPage for printing and also for those that use the GXStartPage/GXDrawShape/GXFinishPage sequence for printing.

SPECIAL CONSIDERATIONS
You never send the GXPrintPage message yourself.

You must forward the GXPrintPage message to other message handlers.

SEE ALSO
The GXPrintPage function is described in Inside Macintosh: QuickDraw GX Printing.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help